package com.xiaohudie.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

/**
 * @Author xiao hu die
 * @Date 2022/4/6 10:46
 * @Version 1.0
 */
@Mapper
public interface TestMapper {
    @Select("SELECT name FROM campsite_city WHERE id =1101")
    public String testSelect();
    @Update("UPDATE t_user SET name ='陈唯怡' WHERE id =1")
    public Integer testUpdate();
    /**调用存储过程*/
    Integer  proTest8(@Param("param") Integer param);
}
